package com.coos.util;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

public class TestCase {
	public static void main(String[] args) throws Exception
	{
		run(1);
		Thread.sleep(3000);
		run(2);
		Thread.sleep(3000);
		run(100);
		Thread.sleep(3000);
		run(500);
		Thread.sleep(3000);
		run(1000);
	}
	public static void run(int i){
		String message = "";
		long endTime = 0;
		long startTime = 0;
		TestCase testcase = new TestCase();
		
		//if
		startTime = System.nanoTime();
		testcase.testIf("method" +i);
		endTime = System.nanoTime() - startTime;
		message = " if method" + i + "用时:" + endTime + "纳秒," + endTime/1000000 + "毫秒\r\n";
		System.out.println(message);
		
		//invoke
		startTime = System.nanoTime();
		testcase.testInvoke("method" +i);
		endTime = System.nanoTime() - startTime;
		message = " invoke method" + i + "用时:" + endTime + "纳秒," + endTime/1000000 + "毫秒\r\n";
		System.out.println(message);
	}
	
	public void method1000(String method){
		//System.out.println("I'm method1000");
	}
	
	public void method500(String method){
		//System.out.println("I'm method500");
	}
	
	public void method100(String method){
		//System.out.println("I'm method100");
	}
	
	public void method2(String method){
		//System.out.println("I'm method2");
	}
	
	public void method1(String method){
		//System.out.println("I'm method1");
	}
	
	public void testInvoke(String method){
		Method actionMethod = null;
		try {
			actionMethod = getClass().getMethod(method,
					new Class[] { String.class });
		} catch (NoSuchMethodException e) {
			System.out.println("Unknown method: " + method);
		}
		// 根据请求调用相应的方法
		try {
			actionMethod.invoke(this, new Object[] { method });
		} catch (InvocationTargetException e) {
			System.out.println("InvocationTargetException: " + method);
		} catch (IllegalArgumentException e) {
			System.out.println("IllegalArgumentException: " + method);
		} catch (IllegalAccessException e) {
			System.out.println("IllegalAccessException: " + method);
		}
	}
	
	public void testIf(String method){
		if("method1".equals(method)){method1(method);}
		else if("method2".equals(method)){method2(method);}
		else if("method3".equals(method)){}
		else if("method4".equals(method)){}
		else if("method5".equals(method)){}
		else if("method6".equals(method)){}
		else if("method7".equals(method)){}
		else if("method8".equals(method)){}
		else if("method9".equals(method)){}
		else if("method10".equals(method)){}
		else if("method11".equals(method)){}
		else if("method12".equals(method)){}
		else if("method13".equals(method)){}
		else if("method14".equals(method)){}
		else if("method15".equals(method)){}
		else if("method16".equals(method)){}
		else if("method17".equals(method)){}
		else if("method18".equals(method)){}
		else if("method19".equals(method)){}
		else if("method20".equals(method)){}
		else if("method21".equals(method)){}
		else if("method22".equals(method)){}
		else if("method23".equals(method)){}
		else if("method24".equals(method)){}
		else if("method25".equals(method)){}
		else if("method26".equals(method)){}
		else if("method27".equals(method)){}
		else if("method28".equals(method)){}
		else if("method29".equals(method)){}
		else if("method30".equals(method)){}
		else if("method31".equals(method)){}
		else if("method32".equals(method)){}
		else if("method33".equals(method)){}
		else if("method34".equals(method)){}
		else if("method35".equals(method)){}
		else if("method36".equals(method)){}
		else if("method37".equals(method)){}
		else if("method38".equals(method)){}
		else if("method39".equals(method)){}
		else if("method40".equals(method)){}
		else if("method41".equals(method)){}
		else if("method42".equals(method)){}
		else if("method43".equals(method)){}
		else if("method44".equals(method)){}
		else if("method45".equals(method)){}
		else if("method46".equals(method)){}
		else if("method47".equals(method)){}
		else if("method48".equals(method)){}
		else if("method49".equals(method)){}
		else if("method50".equals(method)){}
		else if("method51".equals(method)){}
		else if("method52".equals(method)){}
		else if("method53".equals(method)){}
		else if("method54".equals(method)){}
		else if("method55".equals(method)){}
		else if("method56".equals(method)){}
		else if("method57".equals(method)){}
		else if("method58".equals(method)){}
		else if("method59".equals(method)){}
		else if("method60".equals(method)){}
		else if("method61".equals(method)){}
		else if("method62".equals(method)){}
		else if("method63".equals(method)){}
		else if("method64".equals(method)){}
		else if("method65".equals(method)){}
		else if("method66".equals(method)){}
		else if("method67".equals(method)){}
		else if("method68".equals(method)){}
		else if("method69".equals(method)){}
		else if("method70".equals(method)){}
		else if("method71".equals(method)){}
		else if("method72".equals(method)){}
		else if("method73".equals(method)){}
		else if("method74".equals(method)){}
		else if("method75".equals(method)){}
		else if("method76".equals(method)){}
		else if("method77".equals(method)){}
		else if("method78".equals(method)){}
		else if("method79".equals(method)){}
		else if("method80".equals(method)){}
		else if("method81".equals(method)){}
		else if("method82".equals(method)){}
		else if("method83".equals(method)){}
		else if("method84".equals(method)){}
		else if("method85".equals(method)){}
		else if("method86".equals(method)){}
		else if("method87".equals(method)){}
		else if("method88".equals(method)){}
		else if("method89".equals(method)){}
		else if("method90".equals(method)){}
		else if("method91".equals(method)){}
		else if("method92".equals(method)){}
		else if("method93".equals(method)){}
		else if("method94".equals(method)){}
		else if("method95".equals(method)){}
		else if("method96".equals(method)){}
		else if("method97".equals(method)){}
		else if("method98".equals(method)){}
		else if("method99".equals(method)){}
		else if("method100".equals(method)){method100(method);}
		else if("method101".equals(method)){}
		else if("method102".equals(method)){}
		else if("method103".equals(method)){}
		else if("method104".equals(method)){}
		else if("method105".equals(method)){}
		else if("method106".equals(method)){}
		else if("method107".equals(method)){}
		else if("method108".equals(method)){}
		else if("method109".equals(method)){}
		else if("method110".equals(method)){}
		else if("method111".equals(method)){}
		else if("method112".equals(method)){}
		else if("method113".equals(method)){}
		else if("method114".equals(method)){}
		else if("method115".equals(method)){}
		else if("method116".equals(method)){}
		else if("method117".equals(method)){}
		else if("method118".equals(method)){}
		else if("method119".equals(method)){}
		else if("method120".equals(method)){}
		else if("method121".equals(method)){}
		else if("method122".equals(method)){}
		else if("method123".equals(method)){}
		else if("method124".equals(method)){}
		else if("method125".equals(method)){}
		else if("method126".equals(method)){}
		else if("method127".equals(method)){}
		else if("method128".equals(method)){}
		else if("method129".equals(method)){}
		else if("method130".equals(method)){}
		else if("method131".equals(method)){}
		else if("method132".equals(method)){}
		else if("method133".equals(method)){}
		else if("method134".equals(method)){}
		else if("method135".equals(method)){}
		else if("method136".equals(method)){}
		else if("method137".equals(method)){}
		else if("method138".equals(method)){}
		else if("method139".equals(method)){}
		else if("method140".equals(method)){}
		else if("method141".equals(method)){}
		else if("method142".equals(method)){}
		else if("method143".equals(method)){}
		else if("method144".equals(method)){}
		else if("method145".equals(method)){}
		else if("method146".equals(method)){}
		else if("method147".equals(method)){}
		else if("method148".equals(method)){}
		else if("method149".equals(method)){}
		else if("method150".equals(method)){}
		else if("method151".equals(method)){}
		else if("method152".equals(method)){}
		else if("method153".equals(method)){}
		else if("method154".equals(method)){}
		else if("method155".equals(method)){}
		else if("method156".equals(method)){}
		else if("method157".equals(method)){}
		else if("method158".equals(method)){}
		else if("method159".equals(method)){}
		else if("method160".equals(method)){}
		else if("method161".equals(method)){}
		else if("method162".equals(method)){}
		else if("method163".equals(method)){}
		else if("method164".equals(method)){}
		else if("method165".equals(method)){}
		else if("method166".equals(method)){}
		else if("method167".equals(method)){}
		else if("method168".equals(method)){}
		else if("method169".equals(method)){}
		else if("method170".equals(method)){}
		else if("method171".equals(method)){}
		else if("method172".equals(method)){}
		else if("method173".equals(method)){}
		else if("method174".equals(method)){}
		else if("method175".equals(method)){}
		else if("method176".equals(method)){}
		else if("method177".equals(method)){}
		else if("method178".equals(method)){}
		else if("method179".equals(method)){}
		else if("method180".equals(method)){}
		else if("method181".equals(method)){}
		else if("method182".equals(method)){}
		else if("method183".equals(method)){}
		else if("method184".equals(method)){}
		else if("method185".equals(method)){}
		else if("method186".equals(method)){}
		else if("method187".equals(method)){}
		else if("method188".equals(method)){}
		else if("method189".equals(method)){}
		else if("method190".equals(method)){}
		else if("method191".equals(method)){}
		else if("method192".equals(method)){}
		else if("method193".equals(method)){}
		else if("method194".equals(method)){}
		else if("method195".equals(method)){}
		else if("method196".equals(method)){}
		else if("method197".equals(method)){}
		else if("method198".equals(method)){}
		else if("method199".equals(method)){}
		else if("method200".equals(method)){}
		else if("method201".equals(method)){}
		else if("method202".equals(method)){}
		else if("method203".equals(method)){}
		else if("method204".equals(method)){}
		else if("method205".equals(method)){}
		else if("method206".equals(method)){}
		else if("method207".equals(method)){}
		else if("method208".equals(method)){}
		else if("method209".equals(method)){}
		else if("method210".equals(method)){}
		else if("method211".equals(method)){}
		else if("method212".equals(method)){}
		else if("method213".equals(method)){}
		else if("method214".equals(method)){}
		else if("method215".equals(method)){}
		else if("method216".equals(method)){}
		else if("method217".equals(method)){}
		else if("method218".equals(method)){}
		else if("method219".equals(method)){}
		else if("method220".equals(method)){}
		else if("method221".equals(method)){}
		else if("method222".equals(method)){}
		else if("method223".equals(method)){}
		else if("method224".equals(method)){}
		else if("method225".equals(method)){}
		else if("method226".equals(method)){}
		else if("method227".equals(method)){}
		else if("method228".equals(method)){}
		else if("method229".equals(method)){}
		else if("method230".equals(method)){}
		else if("method231".equals(method)){}
		else if("method232".equals(method)){}
		else if("method233".equals(method)){}
		else if("method234".equals(method)){}
		else if("method235".equals(method)){}
		else if("method236".equals(method)){}
		else if("method237".equals(method)){}
		else if("method238".equals(method)){}
		else if("method239".equals(method)){}
		else if("method240".equals(method)){}
		else if("method241".equals(method)){}
		else if("method242".equals(method)){}
		else if("method243".equals(method)){}
		else if("method244".equals(method)){}
		else if("method245".equals(method)){}
		else if("method246".equals(method)){}
		else if("method247".equals(method)){}
		else if("method248".equals(method)){}
		else if("method249".equals(method)){}
		else if("method250".equals(method)){}
		else if("method251".equals(method)){}
		else if("method252".equals(method)){}
		else if("method253".equals(method)){}
		else if("method254".equals(method)){}
		else if("method255".equals(method)){}
		else if("method256".equals(method)){}
		else if("method257".equals(method)){}
		else if("method258".equals(method)){}
		else if("method259".equals(method)){}
		else if("method260".equals(method)){}
		else if("method261".equals(method)){}
		else if("method262".equals(method)){}
		else if("method263".equals(method)){}
		else if("method264".equals(method)){}
		else if("method265".equals(method)){}
		else if("method266".equals(method)){}
		else if("method267".equals(method)){}
		else if("method268".equals(method)){}
		else if("method269".equals(method)){}
		else if("method270".equals(method)){}
		else if("method271".equals(method)){}
		else if("method272".equals(method)){}
		else if("method273".equals(method)){}
		else if("method274".equals(method)){}
		else if("method275".equals(method)){}
		else if("method276".equals(method)){}
		else if("method277".equals(method)){}
		else if("method278".equals(method)){}
		else if("method279".equals(method)){}
		else if("method280".equals(method)){}
		else if("method281".equals(method)){}
		else if("method282".equals(method)){}
		else if("method283".equals(method)){}
		else if("method284".equals(method)){}
		else if("method285".equals(method)){}
		else if("method286".equals(method)){}
		else if("method287".equals(method)){}
		else if("method288".equals(method)){}
		else if("method289".equals(method)){}
		else if("method290".equals(method)){}
		else if("method291".equals(method)){}
		else if("method292".equals(method)){}
		else if("method293".equals(method)){}
		else if("method294".equals(method)){}
		else if("method295".equals(method)){}
		else if("method296".equals(method)){}
		else if("method297".equals(method)){}
		else if("method298".equals(method)){}
		else if("method299".equals(method)){}
		else if("method300".equals(method)){}
		else if("method301".equals(method)){}
		else if("method302".equals(method)){}
		else if("method303".equals(method)){}
		else if("method304".equals(method)){}
		else if("method305".equals(method)){}
		else if("method306".equals(method)){}
		else if("method307".equals(method)){}
		else if("method308".equals(method)){}
		else if("method309".equals(method)){}
		else if("method310".equals(method)){}
		else if("method311".equals(method)){}
		else if("method312".equals(method)){}
		else if("method313".equals(method)){}
		else if("method314".equals(method)){}
		else if("method315".equals(method)){}
		else if("method316".equals(method)){}
		else if("method317".equals(method)){}
		else if("method318".equals(method)){}
		else if("method319".equals(method)){}
		else if("method320".equals(method)){}
		else if("method321".equals(method)){}
		else if("method322".equals(method)){}
		else if("method323".equals(method)){}
		else if("method324".equals(method)){}
		else if("method325".equals(method)){}
		else if("method326".equals(method)){}
		else if("method327".equals(method)){}
		else if("method328".equals(method)){}
		else if("method329".equals(method)){}
		else if("method330".equals(method)){}
		else if("method331".equals(method)){}
		else if("method332".equals(method)){}
		else if("method333".equals(method)){}
		else if("method334".equals(method)){}
		else if("method335".equals(method)){}
		else if("method336".equals(method)){}
		else if("method337".equals(method)){}
		else if("method338".equals(method)){}
		else if("method339".equals(method)){}
		else if("method340".equals(method)){}
		else if("method341".equals(method)){}
		else if("method342".equals(method)){}
		else if("method343".equals(method)){}
		else if("method344".equals(method)){}
		else if("method345".equals(method)){}
		else if("method346".equals(method)){}
		else if("method347".equals(method)){}
		else if("method348".equals(method)){}
		else if("method349".equals(method)){}
		else if("method350".equals(method)){}
		else if("method351".equals(method)){}
		else if("method352".equals(method)){}
		else if("method353".equals(method)){}
		else if("method354".equals(method)){}
		else if("method355".equals(method)){}
		else if("method356".equals(method)){}
		else if("method357".equals(method)){}
		else if("method358".equals(method)){}
		else if("method359".equals(method)){}
		else if("method360".equals(method)){}
		else if("method361".equals(method)){}
		else if("method362".equals(method)){}
		else if("method363".equals(method)){}
		else if("method364".equals(method)){}
		else if("method365".equals(method)){}
		else if("method366".equals(method)){}
		else if("method367".equals(method)){}
		else if("method368".equals(method)){}
		else if("method369".equals(method)){}
		else if("method370".equals(method)){}
		else if("method371".equals(method)){}
		else if("method372".equals(method)){}
		else if("method373".equals(method)){}
		else if("method374".equals(method)){}
		else if("method375".equals(method)){}
		else if("method376".equals(method)){}
		else if("method377".equals(method)){}
		else if("method378".equals(method)){}
		else if("method379".equals(method)){}
		else if("method380".equals(method)){}
		else if("method381".equals(method)){}
		else if("method382".equals(method)){}
		else if("method383".equals(method)){}
		else if("method384".equals(method)){}
		else if("method385".equals(method)){}
		else if("method386".equals(method)){}
		else if("method387".equals(method)){}
		else if("method388".equals(method)){}
		else if("method389".equals(method)){}
		else if("method390".equals(method)){}
		else if("method391".equals(method)){}
		else if("method392".equals(method)){}
		else if("method393".equals(method)){}
		else if("method394".equals(method)){}
		else if("method395".equals(method)){}
		else if("method396".equals(method)){}
		else if("method397".equals(method)){}
		else if("method398".equals(method)){}
		else if("method399".equals(method)){}
		else if("method400".equals(method)){}
		else if("method401".equals(method)){}
		else if("method402".equals(method)){}
		else if("method403".equals(method)){}
		else if("method404".equals(method)){}
		else if("method405".equals(method)){}
		else if("method406".equals(method)){}
		else if("method407".equals(method)){}
		else if("method408".equals(method)){}
		else if("method409".equals(method)){}
		else if("method410".equals(method)){}
		else if("method411".equals(method)){}
		else if("method412".equals(method)){}
		else if("method413".equals(method)){}
		else if("method414".equals(method)){}
		else if("method415".equals(method)){}
		else if("method416".equals(method)){}
		else if("method417".equals(method)){}
		else if("method418".equals(method)){}
		else if("method419".equals(method)){}
		else if("method420".equals(method)){}
		else if("method421".equals(method)){}
		else if("method422".equals(method)){}
		else if("method423".equals(method)){}
		else if("method424".equals(method)){}
		else if("method425".equals(method)){}
		else if("method426".equals(method)){}
		else if("method427".equals(method)){}
		else if("method428".equals(method)){}
		else if("method429".equals(method)){}
		else if("method430".equals(method)){}
		else if("method431".equals(method)){}
		else if("method432".equals(method)){}
		else if("method433".equals(method)){}
		else if("method434".equals(method)){}
		else if("method435".equals(method)){}
		else if("method436".equals(method)){}
		else if("method437".equals(method)){}
		else if("method438".equals(method)){}
		else if("method439".equals(method)){}
		else if("method440".equals(method)){}
		else if("method441".equals(method)){}
		else if("method442".equals(method)){}
		else if("method443".equals(method)){}
		else if("method444".equals(method)){}
		else if("method445".equals(method)){}
		else if("method446".equals(method)){}
		else if("method447".equals(method)){}
		else if("method448".equals(method)){}
		else if("method449".equals(method)){}
		else if("method450".equals(method)){}
		else if("method451".equals(method)){}
		else if("method452".equals(method)){}
		else if("method453".equals(method)){}
		else if("method454".equals(method)){}
		else if("method455".equals(method)){}
		else if("method456".equals(method)){}
		else if("method457".equals(method)){}
		else if("method458".equals(method)){}
		else if("method459".equals(method)){}
		else if("method460".equals(method)){}
		else if("method461".equals(method)){}
		else if("method462".equals(method)){}
		else if("method463".equals(method)){}
		else if("method464".equals(method)){}
		else if("method465".equals(method)){}
		else if("method466".equals(method)){}
		else if("method467".equals(method)){}
		else if("method468".equals(method)){}
		else if("method469".equals(method)){}
		else if("method470".equals(method)){}
		else if("method471".equals(method)){}
		else if("method472".equals(method)){}
		else if("method473".equals(method)){}
		else if("method474".equals(method)){}
		else if("method475".equals(method)){}
		else if("method476".equals(method)){}
		else if("method477".equals(method)){}
		else if("method478".equals(method)){}
		else if("method479".equals(method)){}
		else if("method480".equals(method)){}
		else if("method481".equals(method)){}
		else if("method482".equals(method)){}
		else if("method483".equals(method)){}
		else if("method484".equals(method)){}
		else if("method485".equals(method)){}
		else if("method486".equals(method)){}
		else if("method487".equals(method)){}
		else if("method488".equals(method)){}
		else if("method489".equals(method)){}
		else if("method490".equals(method)){}
		else if("method491".equals(method)){}
		else if("method492".equals(method)){}
		else if("method493".equals(method)){}
		else if("method494".equals(method)){}
		else if("method495".equals(method)){}
		else if("method496".equals(method)){}
		else if("method497".equals(method)){}
		else if("method498".equals(method)){}
		else if("method499".equals(method)){}
		else if("method500".equals(method)){method500(method);}
		else if("method501".equals(method)){}
		else if("method502".equals(method)){}
		else if("method503".equals(method)){}
		else if("method504".equals(method)){}
		else if("method505".equals(method)){}
		else if("method506".equals(method)){}
		else if("method507".equals(method)){}
		else if("method508".equals(method)){}
		else if("method509".equals(method)){}
		else if("method510".equals(method)){}
		else if("method511".equals(method)){}
		else if("method512".equals(method)){}
		else if("method513".equals(method)){}
		else if("method514".equals(method)){}
		else if("method515".equals(method)){}
		else if("method516".equals(method)){}
		else if("method517".equals(method)){}
		else if("method518".equals(method)){}
		else if("method519".equals(method)){}
		else if("method520".equals(method)){}
		else if("method521".equals(method)){}
		else if("method522".equals(method)){}
		else if("method523".equals(method)){}
		else if("method524".equals(method)){}
		else if("method525".equals(method)){}
		else if("method526".equals(method)){}
		else if("method527".equals(method)){}
		else if("method528".equals(method)){}
		else if("method529".equals(method)){}
		else if("method530".equals(method)){}
		else if("method531".equals(method)){}
		else if("method532".equals(method)){}
		else if("method533".equals(method)){}
		else if("method534".equals(method)){}
		else if("method535".equals(method)){}
		else if("method536".equals(method)){}
		else if("method537".equals(method)){}
		else if("method538".equals(method)){}
		else if("method539".equals(method)){}
		else if("method540".equals(method)){}
		else if("method541".equals(method)){}
		else if("method542".equals(method)){}
		else if("method543".equals(method)){}
		else if("method544".equals(method)){}
		else if("method545".equals(method)){}
		else if("method546".equals(method)){}
		else if("method547".equals(method)){}
		else if("method548".equals(method)){}
		else if("method549".equals(method)){}
		else if("method550".equals(method)){}
		else if("method551".equals(method)){}
		else if("method552".equals(method)){}
		else if("method553".equals(method)){}
		else if("method554".equals(method)){}
		else if("method555".equals(method)){}
		else if("method556".equals(method)){}
		else if("method557".equals(method)){}
		else if("method558".equals(method)){}
		else if("method559".equals(method)){}
		else if("method560".equals(method)){}
		else if("method561".equals(method)){}
		else if("method562".equals(method)){}
		else if("method563".equals(method)){}
		else if("method564".equals(method)){}
		else if("method565".equals(method)){}
		else if("method566".equals(method)){}
		else if("method567".equals(method)){}
		else if("method568".equals(method)){}
		else if("method569".equals(method)){}
		else if("method570".equals(method)){}
		else if("method571".equals(method)){}
		else if("method572".equals(method)){}
		else if("method573".equals(method)){}
		else if("method574".equals(method)){}
		else if("method575".equals(method)){}
		else if("method576".equals(method)){}
		else if("method577".equals(method)){}
		else if("method578".equals(method)){}
		else if("method579".equals(method)){}
		else if("method580".equals(method)){}
		else if("method581".equals(method)){}
		else if("method582".equals(method)){}
		else if("method583".equals(method)){}
		else if("method584".equals(method)){}
		else if("method585".equals(method)){}
		else if("method586".equals(method)){}
		else if("method587".equals(method)){}
		else if("method588".equals(method)){}
		else if("method589".equals(method)){}
		else if("method590".equals(method)){}
		else if("method591".equals(method)){}
		else if("method592".equals(method)){}
		else if("method593".equals(method)){}
		else if("method594".equals(method)){}
		else if("method595".equals(method)){}
		else if("method596".equals(method)){}
		else if("method597".equals(method)){}
		else if("method598".equals(method)){}
		else if("method599".equals(method)){}
		else if("method600".equals(method)){}
		else if("method601".equals(method)){}
		else if("method602".equals(method)){}
		else if("method603".equals(method)){}
		else if("method604".equals(method)){}
		else if("method605".equals(method)){}
		else if("method606".equals(method)){}
		else if("method607".equals(method)){}
		else if("method608".equals(method)){}
		else if("method609".equals(method)){}
		else if("method610".equals(method)){}
		else if("method611".equals(method)){}
		else if("method612".equals(method)){}
		else if("method613".equals(method)){}
		else if("method614".equals(method)){}
		else if("method615".equals(method)){}
		else if("method616".equals(method)){}
		else if("method617".equals(method)){}
		else if("method618".equals(method)){}
		else if("method619".equals(method)){}
		else if("method620".equals(method)){}
		else if("method621".equals(method)){}
		else if("method622".equals(method)){}
		else if("method623".equals(method)){}
		else if("method624".equals(method)){}
		else if("method625".equals(method)){}
		else if("method626".equals(method)){}
		else if("method627".equals(method)){}
		else if("method628".equals(method)){}
		else if("method629".equals(method)){}
		else if("method630".equals(method)){}
		else if("method631".equals(method)){}
		else if("method632".equals(method)){}
		else if("method633".equals(method)){}
		else if("method634".equals(method)){}
		else if("method635".equals(method)){}
		else if("method636".equals(method)){}
		else if("method637".equals(method)){}
		else if("method638".equals(method)){}
		else if("method639".equals(method)){}
		else if("method640".equals(method)){}
		else if("method641".equals(method)){}
		else if("method642".equals(method)){}
		else if("method643".equals(method)){}
		else if("method644".equals(method)){}
		else if("method645".equals(method)){}
		else if("method646".equals(method)){}
		else if("method647".equals(method)){}
		else if("method648".equals(method)){}
		else if("method649".equals(method)){}
		else if("method650".equals(method)){}
		else if("method651".equals(method)){}
		else if("method652".equals(method)){}
		else if("method653".equals(method)){}
		else if("method654".equals(method)){}
		else if("method655".equals(method)){}
		else if("method656".equals(method)){}
		else if("method657".equals(method)){}
		else if("method658".equals(method)){}
		else if("method659".equals(method)){}
		else if("method660".equals(method)){}
		else if("method661".equals(method)){}
		else if("method662".equals(method)){}
		else if("method663".equals(method)){}
		else if("method664".equals(method)){}
		else if("method665".equals(method)){}
		else if("method666".equals(method)){}
		else if("method667".equals(method)){}
		else if("method668".equals(method)){}
		else if("method669".equals(method)){}
		else if("method670".equals(method)){}
		else if("method671".equals(method)){}
		else if("method672".equals(method)){}
		else if("method673".equals(method)){}
		else if("method674".equals(method)){}
		else if("method675".equals(method)){}
		else if("method676".equals(method)){}
		else if("method677".equals(method)){}
		else if("method678".equals(method)){}
		else if("method679".equals(method)){}
		else if("method680".equals(method)){}
		else if("method681".equals(method)){}
		else if("method682".equals(method)){}
		else if("method683".equals(method)){}
		else if("method684".equals(method)){}
		else if("method685".equals(method)){}
		else if("method686".equals(method)){}
		else if("method687".equals(method)){}
		else if("method688".equals(method)){}
		else if("method689".equals(method)){}
		else if("method690".equals(method)){}
		else if("method691".equals(method)){}
		else if("method692".equals(method)){}
		else if("method693".equals(method)){}
		else if("method694".equals(method)){}
		else if("method695".equals(method)){}
		else if("method696".equals(method)){}
		else if("method697".equals(method)){}
		else if("method698".equals(method)){}
		else if("method699".equals(method)){}
		else if("method700".equals(method)){}
		else if("method701".equals(method)){}
		else if("method702".equals(method)){}
		else if("method703".equals(method)){}
		else if("method704".equals(method)){}
		else if("method705".equals(method)){}
		else if("method706".equals(method)){}
		else if("method707".equals(method)){}
		else if("method708".equals(method)){}
		else if("method709".equals(method)){}
		else if("method710".equals(method)){}
		else if("method711".equals(method)){}
		else if("method712".equals(method)){}
		else if("method713".equals(method)){}
		else if("method714".equals(method)){}
		else if("method715".equals(method)){}
		else if("method716".equals(method)){}
		else if("method717".equals(method)){}
		else if("method718".equals(method)){}
		else if("method719".equals(method)){}
		else if("method720".equals(method)){}
		else if("method721".equals(method)){}
		else if("method722".equals(method)){}
		else if("method723".equals(method)){}
		else if("method724".equals(method)){}
		else if("method725".equals(method)){}
		else if("method726".equals(method)){}
		else if("method727".equals(method)){}
		else if("method728".equals(method)){}
		else if("method729".equals(method)){}
		else if("method730".equals(method)){}
		else if("method731".equals(method)){}
		else if("method732".equals(method)){}
		else if("method733".equals(method)){}
		else if("method734".equals(method)){}
		else if("method735".equals(method)){}
		else if("method736".equals(method)){}
		else if("method737".equals(method)){}
		else if("method738".equals(method)){}
		else if("method739".equals(method)){}
		else if("method740".equals(method)){}
		else if("method741".equals(method)){}
		else if("method742".equals(method)){}
		else if("method743".equals(method)){}
		else if("method744".equals(method)){}
		else if("method745".equals(method)){}
		else if("method746".equals(method)){}
		else if("method747".equals(method)){}
		else if("method748".equals(method)){}
		else if("method749".equals(method)){}
		else if("method750".equals(method)){}
		else if("method751".equals(method)){}
		else if("method752".equals(method)){}
		else if("method753".equals(method)){}
		else if("method754".equals(method)){}
		else if("method755".equals(method)){}
		else if("method756".equals(method)){}
		else if("method757".equals(method)){}
		else if("method758".equals(method)){}
		else if("method759".equals(method)){}
		else if("method760".equals(method)){}
		else if("method761".equals(method)){}
		else if("method762".equals(method)){}
		else if("method763".equals(method)){}
		else if("method764".equals(method)){}
		else if("method765".equals(method)){}
		else if("method766".equals(method)){}
		else if("method767".equals(method)){}
		else if("method768".equals(method)){}
		else if("method769".equals(method)){}
		else if("method770".equals(method)){}
		else if("method771".equals(method)){}
		else if("method772".equals(method)){}
		else if("method773".equals(method)){}
		else if("method774".equals(method)){}
		else if("method775".equals(method)){}
		else if("method776".equals(method)){}
		else if("method777".equals(method)){}
		else if("method778".equals(method)){}
		else if("method779".equals(method)){}
		else if("method780".equals(method)){}
		else if("method781".equals(method)){}
		else if("method782".equals(method)){}
		else if("method783".equals(method)){}
		else if("method784".equals(method)){}
		else if("method785".equals(method)){}
		else if("method786".equals(method)){}
		else if("method787".equals(method)){}
		else if("method788".equals(method)){}
		else if("method789".equals(method)){}
		else if("method790".equals(method)){}
		else if("method791".equals(method)){}
		else if("method792".equals(method)){}
		else if("method793".equals(method)){}
		else if("method794".equals(method)){}
		else if("method795".equals(method)){}
		else if("method796".equals(method)){}
		else if("method797".equals(method)){}
		else if("method798".equals(method)){}
		else if("method799".equals(method)){}
		else if("method800".equals(method)){}
		else if("method801".equals(method)){}
		else if("method802".equals(method)){}
		else if("method803".equals(method)){}
		else if("method804".equals(method)){}
		else if("method805".equals(method)){}
		else if("method806".equals(method)){}
		else if("method807".equals(method)){}
		else if("method808".equals(method)){}
		else if("method809".equals(method)){}
		else if("method810".equals(method)){}
		else if("method811".equals(method)){}
		else if("method812".equals(method)){}
		else if("method813".equals(method)){}
		else if("method814".equals(method)){}
		else if("method815".equals(method)){}
		else if("method816".equals(method)){}
		else if("method817".equals(method)){}
		else if("method818".equals(method)){}
		else if("method819".equals(method)){}
		else if("method820".equals(method)){}
		else if("method821".equals(method)){}
		else if("method822".equals(method)){}
		else if("method823".equals(method)){}
		else if("method824".equals(method)){}
		else if("method825".equals(method)){}
		else if("method826".equals(method)){}
		else if("method827".equals(method)){}
		else if("method828".equals(method)){}
		else if("method829".equals(method)){}
		else if("method830".equals(method)){}
		else if("method831".equals(method)){}
		else if("method832".equals(method)){}
		else if("method833".equals(method)){}
		else if("method834".equals(method)){}
		else if("method835".equals(method)){}
		else if("method836".equals(method)){}
		else if("method837".equals(method)){}
		else if("method838".equals(method)){}
		else if("method839".equals(method)){}
		else if("method840".equals(method)){}
		else if("method841".equals(method)){}
		else if("method842".equals(method)){}
		else if("method843".equals(method)){}
		else if("method844".equals(method)){}
		else if("method845".equals(method)){}
		else if("method846".equals(method)){}
		else if("method847".equals(method)){}
		else if("method848".equals(method)){}
		else if("method849".equals(method)){}
		else if("method850".equals(method)){}
		else if("method851".equals(method)){}
		else if("method852".equals(method)){}
		else if("method853".equals(method)){}
		else if("method854".equals(method)){}
		else if("method855".equals(method)){}
		else if("method856".equals(method)){}
		else if("method857".equals(method)){}
		else if("method858".equals(method)){}
		else if("method859".equals(method)){}
		else if("method860".equals(method)){}
		else if("method861".equals(method)){}
		else if("method862".equals(method)){}
		else if("method863".equals(method)){}
		else if("method864".equals(method)){}
		else if("method865".equals(method)){}
		else if("method866".equals(method)){}
		else if("method867".equals(method)){}
		else if("method868".equals(method)){}
		else if("method869".equals(method)){}
		else if("method870".equals(method)){}
		else if("method871".equals(method)){}
		else if("method872".equals(method)){}
		else if("method873".equals(method)){}
		else if("method874".equals(method)){}
		else if("method875".equals(method)){}
		else if("method876".equals(method)){}
		else if("method877".equals(method)){}
		else if("method878".equals(method)){}
		else if("method879".equals(method)){}
		else if("method880".equals(method)){}
		else if("method881".equals(method)){}
		else if("method882".equals(method)){}
		else if("method883".equals(method)){}
		else if("method884".equals(method)){}
		else if("method885".equals(method)){}
		else if("method886".equals(method)){}
		else if("method887".equals(method)){}
		else if("method888".equals(method)){}
		else if("method889".equals(method)){}
		else if("method890".equals(method)){}
		else if("method891".equals(method)){}
		else if("method892".equals(method)){}
		else if("method893".equals(method)){}
		else if("method894".equals(method)){}
		else if("method895".equals(method)){}
		else if("method896".equals(method)){}
		else if("method897".equals(method)){}
		else if("method898".equals(method)){}
		else if("method899".equals(method)){}
		else if("method900".equals(method)){}
		else if("method901".equals(method)){}
		else if("method902".equals(method)){}
		else if("method903".equals(method)){}
		else if("method904".equals(method)){}
		else if("method905".equals(method)){}
		else if("method906".equals(method)){}
		else if("method907".equals(method)){}
		else if("method908".equals(method)){}
		else if("method909".equals(method)){}
		else if("method910".equals(method)){}
		else if("method911".equals(method)){}
		else if("method912".equals(method)){}
		else if("method913".equals(method)){}
		else if("method914".equals(method)){}
		else if("method915".equals(method)){}
		else if("method916".equals(method)){}
		else if("method917".equals(method)){}
		else if("method918".equals(method)){}
		else if("method919".equals(method)){}
		else if("method920".equals(method)){}
		else if("method921".equals(method)){}
		else if("method922".equals(method)){}
		else if("method923".equals(method)){}
		else if("method924".equals(method)){}
		else if("method925".equals(method)){}
		else if("method926".equals(method)){}
		else if("method927".equals(method)){}
		else if("method928".equals(method)){}
		else if("method929".equals(method)){}
		else if("method930".equals(method)){}
		else if("method931".equals(method)){}
		else if("method932".equals(method)){}
		else if("method933".equals(method)){}
		else if("method934".equals(method)){}
		else if("method935".equals(method)){}
		else if("method936".equals(method)){}
		else if("method937".equals(method)){}
		else if("method938".equals(method)){}
		else if("method939".equals(method)){}
		else if("method940".equals(method)){}
		else if("method941".equals(method)){}
		else if("method942".equals(method)){}
		else if("method943".equals(method)){}
		else if("method944".equals(method)){}
		else if("method945".equals(method)){}
		else if("method946".equals(method)){}
		else if("method947".equals(method)){}
		else if("method948".equals(method)){}
		else if("method949".equals(method)){}
		else if("method950".equals(method)){}
		else if("method951".equals(method)){}
		else if("method952".equals(method)){}
		else if("method953".equals(method)){}
		else if("method954".equals(method)){}
		else if("method955".equals(method)){}
		else if("method956".equals(method)){}
		else if("method957".equals(method)){}
		else if("method958".equals(method)){}
		else if("method959".equals(method)){}
		else if("method960".equals(method)){}
		else if("method961".equals(method)){}
		else if("method962".equals(method)){}
		else if("method963".equals(method)){}
		else if("method964".equals(method)){}
		else if("method965".equals(method)){}
		else if("method966".equals(method)){}
		else if("method967".equals(method)){}
		else if("method968".equals(method)){}
		else if("method969".equals(method)){}
		else if("method970".equals(method)){}
		else if("method971".equals(method)){}
		else if("method972".equals(method)){}
		else if("method973".equals(method)){}
		else if("method974".equals(method)){}
		else if("method975".equals(method)){}
		else if("method976".equals(method)){}
		else if("method977".equals(method)){}
		else if("method978".equals(method)){}
		else if("method979".equals(method)){}
		else if("method980".equals(method)){}
		else if("method981".equals(method)){}
		else if("method982".equals(method)){}
		else if("method983".equals(method)){}
		else if("method984".equals(method)){}
		else if("method985".equals(method)){}
		else if("method986".equals(method)){}
		else if("method987".equals(method)){}
		else if("method988".equals(method)){}
		else if("method989".equals(method)){}
		else if("method990".equals(method)){}
		else if("method991".equals(method)){}
		else if("method992".equals(method)){}
		else if("method993".equals(method)){}
		else if("method994".equals(method)){}
		else if("method995".equals(method)){}
		else if("method996".equals(method)){}
		else if("method997".equals(method)){}
		else if("method998".equals(method)){}
		else if("method999".equals(method)){}
		else if("method1000".equals(method)){method1000(method);}
		else{
			System.out.println("no search method!");
		}
	}
	
	public void getElseIfDemo(){
		String str = "";
		for(int i = 2; i < 1001; i++){
			str = "else if(\"method" + i + "\".equals(method)){}";
			System.out.println(str);
		}
	}

}
